
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-

#obj-m :=module_test.o  
obj-m :=hello.o  
#KERNEL :=/usr/src/kernels/$(uname -r)/  
KERNEL :=/data/linux_kernel/linux-5.10.43
PWD :=$(shell pwd)  
modules :  
	$(MAKE) -C $(KERNEL) M=$(PWD) modules  
.PHONEY:clean  
clean :  
	rm -f *.o *.ko  
